package com.skeyedu.user.service;
/*
 * @author jChen
 * @date 2021/12/12 11:30
 * @detail:
 */

import com.skeyedu.user.entity.User;
import com.skeyedu.user.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImp implements UserService{

    @Autowired
    UserMapper um;

    @Override
    public User findUserById(int id) {
        return um.selectByPrimaryKey(id);
    }

}
